package com.lib.common.bean;


import java.io.Serializable;

/**
 * 基础的请求实体
 */
public class BaseReqBean implements Serializable {
    private DeviceProperties deviceProperties;

    public BaseReqBean() {
        deviceProperties = new DeviceProperties();
    }

    public static class DeviceProperties implements Serializable {

        private int userId = 112391;
        private String deviceParams = "32b109679dc7aab9";
        private String packageName = "com.zqgame.social.mio";
        private String appId = "wxbb5017a9c1906278";
        private String version = "1.1.4";
        private String channelId = "2";
        private double longitude = 0.0;  //经度
        private double latitude = 0.0;   //纬度

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getDeviceParams() {
            return deviceParams;
        }

        public void setDeviceParams(String deviceParams) {
            this.deviceParams = deviceParams;
        }

        public String getPackageName() {
            return packageName;
        }

        public void setPackageName(String packageName) {
            this.packageName = packageName;
        }

        public String getAppId() {
            return appId;
        }

        public void setAppId(String appId) {
            this.appId = appId;
        }

        public String getVersion() {
            return version;
        }

        public void setVersion(String version) {
            this.version = version;
        }

        public String getChannelId() {
            return channelId;
        }

        public void setChannelId(String channelId) {
            this.channelId = channelId;
        }

        public double getLongitude() {
            return longitude;
        }

        public void setLongitude(double longitude) {
            this.longitude = longitude;
        }

        public double getLatitude() {
            return latitude;
        }

        public void setLatitude(double latitude) {
            this.latitude = latitude;
        }
    }

    public DeviceProperties getDeviceProperties() {
        return deviceProperties;
    }

    public void setDeviceProperties(DeviceProperties deviceProperties) {
        this.deviceProperties = deviceProperties;
    }
}